Reference for Bava Batra 265:5
דלמא כי הא קאמרת דההוא דהוה קא שכיב ואמרו ליה נכסיה למאן דלמא לפלניא ואמר להו אלא למאן ואמרת לן עלה אם ראוי ליורשו נוטלן משום ירושה ואם לאו נוטלן משום מתנה אמר ליה אין הכי קאמינא
say, 'The <i>halachah</i> is according to R. Johanan b. Beroka', for, indeed, your statement runs on [the same lines] as [those of] R. Johanan b. Beroka? [But], perhaps, you meant [your statement to apply to a case] like the following.<span class="x" onmousemove="('comment',' I.e., to a case when the testator had no sons or daughters, contrary to the opinion of R. Johanan b. Beroka who allows it even when there is a son or a daughter (R. Gersh.). According to Rashb., the suggestion of R. Nahman is that R. Huna wishes to state the case where the testator was vague in his instructions and did not declare whether the bequest was to be in the terms of a gift or those of an inheritance. ');"><sup>15</sup></span> Once, while a person was in a dying condition he was asked to whom his estate shall be given. '[Shall it] perhaps [be given] to X?' he was asked. And he replied to them, 'To whom [else] then?' And [is it] on [such a case as] this [that] you told us, '[If that person] is entitled to be his heir he receives it as an inheritance, and if not, he receives it as a gift?' — He replied to him: 'Yes, this [is exactly] what I meant'. In respect of what legal practice?<span class="x" onmousemove="('comment',' Does it matter whether the estate was given as a gift or ass 'inheritance'? ');"><sup>16</sup></span> — R. Adda b. Ahabah wished to explain<span class="x" onmousemove="('comment',' This difference. ');"><sup>17</sup></span>